﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Hydra.Shell.Interfaces;
using Hydra.Shell.Implementations;
using Hydra.Shell.Attributes;
using MyRealPackage.Client.Services;
using Hydra.Shell.ProjectionAttributes;
#if SILVERLIGHT
using MyRealPackage.Client.Entities;
#else
using MyRealPackage.Server.Entities;
#endif
using SLControlLibrary;

namespace MyRealPackage.Client
{
    [GuidAttribute("f47a510e-c273-44ce-b8d4-4437b2cb8bdf")]
    [ServerSynchronized("MyRealPackage.Server.MyRealPackage, MyRealPackage.Server, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null")]
    [ProvideServiceAttribute(typeof(MyRealService))]
    public partial class MyRealPackage : HydraPackage
    {
        [Association]
        public EntityObservableCollection<Customer> Customers { get; set; }

        public MyRealPackage(UIThread uiThread) : base(uiThread)
        {
            Customers = new EntityObservableCollection<Customer>();
        }
    }
}
